import ajax from '@/api/apiConfig.js'

/* 获取呼叫中心人员 */
export const getUnitPersonInfo = (data) => {
  return ajax.get('organization/getUnitPersonInfo', data)
}

/* 获取多单位首页接入单位等数量 */
export const getOrgAllCount = (data) => {
  return ajax.get('/sysMonitor/getOrgAllCount', data)
}

/* 获取多单位首页核心指标数量 */
export const getCoreIndex = (data) => {
  return ajax.get('/record/getCoreIndex', data)
}

/* 获取接入单位/报警单位 */
export const getOrgsStatusList = (data) => {
  return ajax.get('/sysMonitor/getOrgsStatusList', data)
}

// 获取楼栋列表
export const getBuildListExt = (data) => {
  return ajax.get('organization/getBuildListExt', data)
}